package com.rainng.coursesystem.repository;

import com.rainng.coursesystem.model.StudentItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface StudentFollowRepository extends JpaRepository<StudentItem, Long> {
    Optional<StudentItem> findByNumber(String number);
}